-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add method find_both_related()
#1633
base: master
Are you sure you want to change the base?
Conversation
inner_join_and_select
I'm not familiar with the internals of SeaORM, but this looks like a very direct and clean conversion of the implementation for Wouldn't it make sense to also add a |
Thanks @Pascualex |
I renamed it for now, as I think |
inner_join_and_select
find_both_related()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution, find_both_related
is a good name.
Shame this wasn't merged |
PR Info
find_also_related()
with non null relation, or using inner join, should not return OptionNew Features
SelectBoth
in which the return type isVec<(E::Model, F::Model)>
fn select_both<F>(mut self, _: F) -> SelectBoth<E, F>
on Selectfn find_both_related()<R>(self, r: R) -> SelectBoth<E, R>